package com.desksoft.ecommerce.entity.mall.dto;

import java.util.ArrayList;
import java.util.List;

public class MallFieldsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MallFieldsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSiteidIsNull() {
            addCriterion("SiteID is null");
            return (Criteria) this;
        }

        public Criteria andSiteidIsNotNull() {
            addCriterion("SiteID is not null");
            return (Criteria) this;
        }

        public Criteria andSiteidEqualTo(Integer value) {
            addCriterion("SiteID =", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidNotEqualTo(Integer value) {
            addCriterion("SiteID <>", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidGreaterThan(Integer value) {
            addCriterion("SiteID >", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidGreaterThanOrEqualTo(Integer value) {
            addCriterion("SiteID >=", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidLessThan(Integer value) {
            addCriterion("SiteID <", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidLessThanOrEqualTo(Integer value) {
            addCriterion("SiteID <=", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidIn(List<Integer> values) {
            addCriterion("SiteID in", values, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidNotIn(List<Integer> values) {
            addCriterion("SiteID not in", values, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidBetween(Integer value1, Integer value2) {
            addCriterion("SiteID between", value1, value2, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidNotBetween(Integer value1, Integer value2) {
            addCriterion("SiteID not between", value1, value2, "siteid");
            return (Criteria) this;
        }

        public Criteria andFormidIsNull() {
            addCriterion("FormID is null");
            return (Criteria) this;
        }

        public Criteria andFormidIsNotNull() {
            addCriterion("FormID is not null");
            return (Criteria) this;
        }

        public Criteria andFormidEqualTo(String value) {
            addCriterion("FormID =", value, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidNotEqualTo(String value) {
            addCriterion("FormID <>", value, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidGreaterThan(String value) {
            addCriterion("FormID >", value, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidGreaterThanOrEqualTo(String value) {
            addCriterion("FormID >=", value, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidLessThan(String value) {
            addCriterion("FormID <", value, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidLessThanOrEqualTo(String value) {
            addCriterion("FormID <=", value, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidLike(String value) {
            addCriterion("FormID like", value, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidNotLike(String value) {
            addCriterion("FormID not like", value, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidIn(List<String> values) {
            addCriterion("FormID in", values, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidNotIn(List<String> values) {
            addCriterion("FormID not in", values, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidBetween(String value1, String value2) {
            addCriterion("FormID between", value1, value2, "formid");
            return (Criteria) this;
        }

        public Criteria andFormidNotBetween(String value1, String value2) {
            addCriterion("FormID not between", value1, value2, "formid");
            return (Criteria) this;
        }

        public Criteria andLabelIsNull() {
            addCriterion("Label is null");
            return (Criteria) this;
        }

        public Criteria andLabelIsNotNull() {
            addCriterion("Label is not null");
            return (Criteria) this;
        }

        public Criteria andLabelEqualTo(String value) {
            addCriterion("Label =", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotEqualTo(String value) {
            addCriterion("Label <>", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThan(String value) {
            addCriterion("Label >", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelGreaterThanOrEqualTo(String value) {
            addCriterion("Label >=", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLessThan(String value) {
            addCriterion("Label <", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLessThanOrEqualTo(String value) {
            addCriterion("Label <=", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelLike(String value) {
            addCriterion("Label like", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotLike(String value) {
            addCriterion("Label not like", value, "label");
            return (Criteria) this;
        }

        public Criteria andLabelIn(List<String> values) {
            addCriterion("Label in", values, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotIn(List<String> values) {
            addCriterion("Label not in", values, "label");
            return (Criteria) this;
        }

        public Criteria andLabelBetween(String value1, String value2) {
            addCriterion("Label between", value1, value2, "label");
            return (Criteria) this;
        }

        public Criteria andLabelNotBetween(String value1, String value2) {
            addCriterion("Label not between", value1, value2, "label");
            return (Criteria) this;
        }

        public Criteria andFieldsetIsNull() {
            addCriterion("FieldSet is null");
            return (Criteria) this;
        }

        public Criteria andFieldsetIsNotNull() {
            addCriterion("FieldSet is not null");
            return (Criteria) this;
        }

        public Criteria andFieldsetEqualTo(String value) {
            addCriterion("FieldSet =", value, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetNotEqualTo(String value) {
            addCriterion("FieldSet <>", value, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetGreaterThan(String value) {
            addCriterion("FieldSet >", value, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetGreaterThanOrEqualTo(String value) {
            addCriterion("FieldSet >=", value, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetLessThan(String value) {
            addCriterion("FieldSet <", value, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetLessThanOrEqualTo(String value) {
            addCriterion("FieldSet <=", value, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetLike(String value) {
            addCriterion("FieldSet like", value, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetNotLike(String value) {
            addCriterion("FieldSet not like", value, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetIn(List<String> values) {
            addCriterion("FieldSet in", values, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetNotIn(List<String> values) {
            addCriterion("FieldSet not in", values, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetBetween(String value1, String value2) {
            addCriterion("FieldSet between", value1, value2, "fieldset");
            return (Criteria) this;
        }

        public Criteria andFieldsetNotBetween(String value1, String value2) {
            addCriterion("FieldSet not between", value1, value2, "fieldset");
            return (Criteria) this;
        }

        public Criteria andElementIsNull() {
            addCriterion("Element is null");
            return (Criteria) this;
        }

        public Criteria andElementIsNotNull() {
            addCriterion("Element is not null");
            return (Criteria) this;
        }

        public Criteria andElementEqualTo(String value) {
            addCriterion("Element =", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementNotEqualTo(String value) {
            addCriterion("Element <>", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementGreaterThan(String value) {
            addCriterion("Element >", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementGreaterThanOrEqualTo(String value) {
            addCriterion("Element >=", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementLessThan(String value) {
            addCriterion("Element <", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementLessThanOrEqualTo(String value) {
            addCriterion("Element <=", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementLike(String value) {
            addCriterion("Element like", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementNotLike(String value) {
            addCriterion("Element not like", value, "element");
            return (Criteria) this;
        }

        public Criteria andElementIn(List<String> values) {
            addCriterion("Element in", values, "element");
            return (Criteria) this;
        }

        public Criteria andElementNotIn(List<String> values) {
            addCriterion("Element not in", values, "element");
            return (Criteria) this;
        }

        public Criteria andElementBetween(String value1, String value2) {
            addCriterion("Element between", value1, value2, "element");
            return (Criteria) this;
        }

        public Criteria andElementNotBetween(String value1, String value2) {
            addCriterion("Element not between", value1, value2, "element");
            return (Criteria) this;
        }

        public Criteria andFielddescIsNull() {
            addCriterion("FieldDesc is null");
            return (Criteria) this;
        }

        public Criteria andFielddescIsNotNull() {
            addCriterion("FieldDesc is not null");
            return (Criteria) this;
        }

        public Criteria andFielddescEqualTo(String value) {
            addCriterion("FieldDesc =", value, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescNotEqualTo(String value) {
            addCriterion("FieldDesc <>", value, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescGreaterThan(String value) {
            addCriterion("FieldDesc >", value, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescGreaterThanOrEqualTo(String value) {
            addCriterion("FieldDesc >=", value, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescLessThan(String value) {
            addCriterion("FieldDesc <", value, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescLessThanOrEqualTo(String value) {
            addCriterion("FieldDesc <=", value, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescLike(String value) {
            addCriterion("FieldDesc like", value, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescNotLike(String value) {
            addCriterion("FieldDesc not like", value, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescIn(List<String> values) {
            addCriterion("FieldDesc in", values, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescNotIn(List<String> values) {
            addCriterion("FieldDesc not in", values, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescBetween(String value1, String value2) {
            addCriterion("FieldDesc between", value1, value2, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFielddescNotBetween(String value1, String value2) {
            addCriterion("FieldDesc not between", value1, value2, "fielddesc");
            return (Criteria) this;
        }

        public Criteria andFieldtipIsNull() {
            addCriterion("FieldTip is null");
            return (Criteria) this;
        }

        public Criteria andFieldtipIsNotNull() {
            addCriterion("FieldTip is not null");
            return (Criteria) this;
        }

        public Criteria andFieldtipEqualTo(String value) {
            addCriterion("FieldTip =", value, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipNotEqualTo(String value) {
            addCriterion("FieldTip <>", value, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipGreaterThan(String value) {
            addCriterion("FieldTip >", value, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipGreaterThanOrEqualTo(String value) {
            addCriterion("FieldTip >=", value, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipLessThan(String value) {
            addCriterion("FieldTip <", value, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipLessThanOrEqualTo(String value) {
            addCriterion("FieldTip <=", value, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipLike(String value) {
            addCriterion("FieldTip like", value, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipNotLike(String value) {
            addCriterion("FieldTip not like", value, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipIn(List<String> values) {
            addCriterion("FieldTip in", values, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipNotIn(List<String> values) {
            addCriterion("FieldTip not in", values, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipBetween(String value1, String value2) {
            addCriterion("FieldTip between", value1, value2, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andFieldtipNotBetween(String value1, String value2) {
            addCriterion("FieldTip not between", value1, value2, "fieldtip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipIsNull() {
            addCriterion("IllegalTip is null");
            return (Criteria) this;
        }

        public Criteria andIllegaltipIsNotNull() {
            addCriterion("IllegalTip is not null");
            return (Criteria) this;
        }

        public Criteria andIllegaltipEqualTo(String value) {
            addCriterion("IllegalTip =", value, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipNotEqualTo(String value) {
            addCriterion("IllegalTip <>", value, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipGreaterThan(String value) {
            addCriterion("IllegalTip >", value, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipGreaterThanOrEqualTo(String value) {
            addCriterion("IllegalTip >=", value, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipLessThan(String value) {
            addCriterion("IllegalTip <", value, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipLessThanOrEqualTo(String value) {
            addCriterion("IllegalTip <=", value, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipLike(String value) {
            addCriterion("IllegalTip like", value, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipNotLike(String value) {
            addCriterion("IllegalTip not like", value, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipIn(List<String> values) {
            addCriterion("IllegalTip in", values, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipNotIn(List<String> values) {
            addCriterion("IllegalTip not in", values, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipBetween(String value1, String value2) {
            addCriterion("IllegalTip between", value1, value2, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andIllegaltipNotBetween(String value1, String value2) {
            addCriterion("IllegalTip not between", value1, value2, "illegaltip");
            return (Criteria) this;
        }

        public Criteria andRulesIsNull() {
            addCriterion("Rules is null");
            return (Criteria) this;
        }

        public Criteria andRulesIsNotNull() {
            addCriterion("Rules is not null");
            return (Criteria) this;
        }

        public Criteria andRulesEqualTo(String value) {
            addCriterion("Rules =", value, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesNotEqualTo(String value) {
            addCriterion("Rules <>", value, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesGreaterThan(String value) {
            addCriterion("Rules >", value, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesGreaterThanOrEqualTo(String value) {
            addCriterion("Rules >=", value, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesLessThan(String value) {
            addCriterion("Rules <", value, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesLessThanOrEqualTo(String value) {
            addCriterion("Rules <=", value, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesLike(String value) {
            addCriterion("Rules like", value, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesNotLike(String value) {
            addCriterion("Rules not like", value, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesIn(List<String> values) {
            addCriterion("Rules in", values, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesNotIn(List<String> values) {
            addCriterion("Rules not in", values, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesBetween(String value1, String value2) {
            addCriterion("Rules between", value1, value2, "rules");
            return (Criteria) this;
        }

        public Criteria andRulesNotBetween(String value1, String value2) {
            addCriterion("Rules not between", value1, value2, "rules");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("Status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("Status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andDisplayIsNull() {
            addCriterion("Display is null");
            return (Criteria) this;
        }

        public Criteria andDisplayIsNotNull() {
            addCriterion("Display is not null");
            return (Criteria) this;
        }

        public Criteria andDisplayEqualTo(Integer value) {
            addCriterion("Display =", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayNotEqualTo(Integer value) {
            addCriterion("Display <>", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayGreaterThan(Integer value) {
            addCriterion("Display >", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayGreaterThanOrEqualTo(Integer value) {
            addCriterion("Display >=", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayLessThan(Integer value) {
            addCriterion("Display <", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayLessThanOrEqualTo(Integer value) {
            addCriterion("Display <=", value, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayIn(List<Integer> values) {
            addCriterion("Display in", values, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayNotIn(List<Integer> values) {
            addCriterion("Display not in", values, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayBetween(Integer value1, Integer value2) {
            addCriterion("Display between", value1, value2, "display");
            return (Criteria) this;
        }

        public Criteria andDisplayNotBetween(Integer value1, Integer value2) {
            addCriterion("Display not between", value1, value2, "display");
            return (Criteria) this;
        }

        public Criteria andDatasourceIsNull() {
            addCriterion("DataSource is null");
            return (Criteria) this;
        }

        public Criteria andDatasourceIsNotNull() {
            addCriterion("DataSource is not null");
            return (Criteria) this;
        }

        public Criteria andDatasourceEqualTo(String value) {
            addCriterion("DataSource =", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotEqualTo(String value) {
            addCriterion("DataSource <>", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceGreaterThan(String value) {
            addCriterion("DataSource >", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceGreaterThanOrEqualTo(String value) {
            addCriterion("DataSource >=", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLessThan(String value) {
            addCriterion("DataSource <", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLessThanOrEqualTo(String value) {
            addCriterion("DataSource <=", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLike(String value) {
            addCriterion("DataSource like", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotLike(String value) {
            addCriterion("DataSource not like", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceIn(List<String> values) {
            addCriterion("DataSource in", values, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotIn(List<String> values) {
            addCriterion("DataSource not in", values, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceBetween(String value1, String value2) {
            addCriterion("DataSource between", value1, value2, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotBetween(String value1, String value2) {
            addCriterion("DataSource not between", value1, value2, "datasource");
            return (Criteria) this;
        }

        public Criteria andStatus2IsNull() {
            addCriterion("Status2 is null");
            return (Criteria) this;
        }

        public Criteria andStatus2IsNotNull() {
            addCriterion("Status2 is not null");
            return (Criteria) this;
        }

        public Criteria andStatus2EqualTo(String value) {
            addCriterion("Status2 =", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2NotEqualTo(String value) {
            addCriterion("Status2 <>", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2GreaterThan(String value) {
            addCriterion("Status2 >", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2GreaterThanOrEqualTo(String value) {
            addCriterion("Status2 >=", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2LessThan(String value) {
            addCriterion("Status2 <", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2LessThanOrEqualTo(String value) {
            addCriterion("Status2 <=", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2Like(String value) {
            addCriterion("Status2 like", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2NotLike(String value) {
            addCriterion("Status2 not like", value, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2In(List<String> values) {
            addCriterion("Status2 in", values, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2NotIn(List<String> values) {
            addCriterion("Status2 not in", values, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2Between(String value1, String value2) {
            addCriterion("Status2 between", value1, value2, "status2");
            return (Criteria) this;
        }

        public Criteria andStatus2NotBetween(String value1, String value2) {
            addCriterion("Status2 not between", value1, value2, "status2");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}